package com.example.repository;

import com.example.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author : 刘姗姗
 * @date : 2025/6/14 10:41
 * @Version: 1.0
 * @Desc : 描述信息
 */
public interface UserRepository extends JpaRepository<User, String> {

    Optional<User> findByUserName(String userName);
}
